package org.csu.webjpetstoreback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.webjpetstoreback.config.CommonResponse;
import org.csu.webjpetstoreback.model.Account;
import org.csu.webjpetstoreback.model.Orderstatus;

import java.util.List;

public interface OrderstatusService extends IService<Orderstatus> {

    public CommonResponse<Orderstatus> GetAccountByID(int orderId);

    public CommonResponse<List<Orderstatus>> GetAccount();

    public CommonResponse<Orderstatus> PostAccount(Orderstatus orderstatus);

    public CommonResponse<Orderstatus> PutAccount(Orderstatus orderstatus);

    public CommonResponse<Orderstatus> DeleteAccount(int orderId);

}
